package modeler.shape;

import javax.vecmath.Vector3f;

public class Face {
	
	private Vector3f[] vertices = new Vector3f[3];
	private int[] vertexPos = new int[3];
	
	public Face(Vector3f v1, Vector3f v2, Vector3f v3, int pos1, int pos2, int pos3) {	
		vertices[0] = v1;
		vertices[1] = v2;
		vertices[2] = v3;
		
		vertexPos[0] = pos1;
		vertexPos[1] = pos2;
		vertexPos[2] = pos3;
	}
	
	public Vector3f[] getVerts() {
		return vertices;
	}
	
	public int[] getVertexPos() {
		return vertexPos;
	}
	
	public void setVerts(Vector3f v1, Vector3f v2, Vector3f v3) {
		vertices[0] = v1;
		vertices[1] = v2;
		vertices[2] = v3;
	}
		
}
